﻿import request from '@/utils/request';
// list
export const louyuxinxiList = (params) => {
    return request({
        url: '/louyuxinxi/page',
        method: 'post',
        data: params,
    })
};
export const louyuxinxiDetail = (id) => {
    return request({
        url: '/louyuxinxi/'+id,
        method: 'get',
    })
};
// add
export const louyuxinxiSave = (params) => {
    return request({
        url: '/louyuxinxi',
        method: 'post',
        data: params,
    })
};
// updt
export const louyuxinxiEdit = (params) => {
    return request({
        url: '/louyuxinxi',
        method: 'put',
        data: params,
    })
};
// delete
export const louyuxinxiDelete = (id) => {
    return request({
        url: '/louyuxinxi/'+id,
        method: 'delete',
    })
};
// pldel
export const louyuxinxiDeleteList = (louyuxinxis) => {
    return request({
        url: '/louyuxinxi/deleteList',
        data:{list:louyuxinxis},
        method: 'post',
    })
};
// all
export const louyuxinxiAllList = () => {
    return request({
        url: '/louyuxinxi',
        method: 'get',
    })
};

